#ifndef __QpwMissileObject__
#define __QpwMissileObject__

#include <QyMath.h>

class QpwWorld {

class MissileObject {
public:
    explicit MissileObject() {}
    virtual ~MissileObject() {}

    quint8 type() const { return p_type; }
    quint32 damage() const { return p_damage; }
    QUuid senderUid() const { return p_senderUid; }
    qreal maxDistance() const { return p_maxDistance; }
    qreal direction() const { return p_direction; }
    QyMath::Point position() const { return p_position; }
    qreal speed() const { return p_speed; }

private:
    quint8 p_type;
    quint32 p_damage;
    QUuid p_senderUid;
    qreal p_maxDistance;
    qreal p_direction;
    QyMath::Point p_position;
    qreal p_speed;

};

};

#endif//__QpwMissileObject__
